package dataTypesPackage;

public class DistanceBetweenLiman {
	private Liman limanFrom;
	private Liman limanTo;
	private int distance;						//in sea mile
	
	
	public DistanceBetweenLiman(Liman limanfrom, Liman limanTo, int distance) {
		// Creates new DBLiman object according to the given parameters.
		this.limanFrom = limanfrom;
		this.limanTo = limanTo;
		this.distance = distance;
	}
	public Liman getLimanFrom() {
		return limanFrom;
	}
	public void setLimanFrom(Liman limanFrom) {
		this.limanFrom = limanFrom;
	}
	public Liman getLimanTo() {
		return limanTo;
	}
	public void setLimanTo(Liman limanTo) {
		this.limanTo = limanTo;
	}
	public int getDistance() {
		return distance;
	}
	public void setDistance(int distance) {
		this.distance = distance;
	}

}
